<?php
$datei = $_REQUEST['id'];
unlink($datei);
//echo "deleted ".$datei ;
$url = $_SERVER['HTTP_REFERER'];
 echo '<meta http-equiv="refresh" content="1;URL=' . $url . '">'; 
?>